#ifndef __DS1302_H
#define __DS1302_H

#include "fun.h"

void Write_Ds1302(unsigned char temp);
void Write_Ds1302_Byte( unsigned char address,unsigned char dat );
unsigned char Read_Ds1302_Byte( unsigned char address );
void set_clock(u8 h,u8 m,u8 s);
void get_time(void);

extern u8 h,m,s;

#endif
